package com.seed.uaa.web.user;

import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.Table;
import io.swagger.v3.oas.annotations.media.Schema;

@Schema(description = "用户角色关联")
@Table(value = "uaa_user_role")
public class UserRole {
    @Id
    @Schema(title = "ID")
    private String id;

    @Schema(title = "用户")
    private String userId;

    @Schema(title = "角色")
    private String roleId;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getRoleId() {
        return roleId;
    }

    public void setRoleId(String roleId) {
        this.roleId = roleId;
    }
}
